<?php

  function warning($str)
  {
  	$_SESSION['messages']['warnings'][] = $str;
  	return false;
  }
